package com.demo.security.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.security.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<SysUser> {

    List<SysUser> getUser();

    SysUser getUserByName(@Param("name") String name);

    SysUser getuserByCode(@Param("code") String code);


}
